package tyk.autowired.service.Impl;

import tyk.autowired.dao.UserDao;
import tyk.autowired.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getUserByID() {
        System.out.println("UserServiceImpl: 根据id查询用户方法执行");
        userDao.getUserById();
    }
}